package com.tqz.anno;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * <p>远程调用的注解
 *
 * @author tianqingzhao
 * @since 2021/7/8 11:47
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Component
public @interface RemoteCall {

    String serviceName();

    String path() default "";
}
